package com.learnyou.server.xingzuo.dto.paramDTO;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author heweifeng
 * @Description:
 * @date 2022/10/14 16:31
 */
@Data
public class LoginDTO {

    @NotEmpty(message = "登录名不能为空")
    @ApiModelProperty(value = "登录名")
    private String loginName;

    @NotEmpty(message = "登录密码不能为空")
    @ApiModelProperty(value = "密码")
    private String password;
}
